<?php 
if ($_SERVER['SERVER_NAME'] == 'localhost'){$uri="/kalender";}else{$uri="";}?>
<!-- STYLES PRINCIPALES -->
<link rel="stylesheet" type="text/css" href="<?php echo($uri);?>/styles/ppal.css?rand=<?php echo(rand());?>"/>
<link rel="stylesheet" type="text/css" href="<?php echo($uri);?>/styles/ui-lightness/jquery-ui-1.8.20.custom.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo($uri);?>/styles/gips/gips.css?rand=<?php echo(rand());?>"/>

<!-- JAVASCRIPTS -->
<script language="JavaScript" type="text/javascript" src="<?php echo($uri);?>/js/jquery.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo($uri);?>/js/jquery-ui-1.8.20.custom.min.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo($uri);?>/js/gips.js" ></script>
      
<?php 
// algunos datos que vamos a necesitar
$data = $_SESSION["userdata"]; 
$data_arr = explode("##",$data);
$nivel = $data_arr[3];
if ($nivel == '3'){?>
	<script language="JavaScript" type="text/javascript" src="<?php echo($uri);?>/js/kalenderClientes.js?rand=<?php echo(rand());?>"></script>
<?php }else{?>
	<script language="JavaScript" type="text/javascript" src="<?php echo($uri);?>/js/kalenderFunctions.js?rand=<?php echo(rand());?>"></script>
<?php }?>


<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-40636366-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>


